from django.urls import path
from . import views

app_name = 'notice'

urlpatterns = [
    path('notices/', views.notice_list, name='notice_list'),
    path('notices/<int:pk>/', views.notice_detail, name='notice_detail'),
    path('notices/new/', views.notice_update, name='notice_create'),
    path('notices/<int:pk>/edit/', views.notice_update, name='notice_update'),
    path('notices/<int:pk>/delete/', views.notice_delete, name='notice_delete'),
    # path('black-list/', views.black_list_view, name='black_list_view'),
    path('notice/unblockuser/', views.unblock_user, name='unblock_user'),
    path('send-private-letter/', views.send_private_letter, name='send_private_letter'),
    path('get-private-letters/', views.get_private_letters, name='get_private_letters'),
    path('xzbmessage/', views.xzbmessage, name='xzbmessage'),
    path('xzbchad/', views.xzbchat, name='xzbchat'),
    path('xzbdetail/', views.xzbdetail, name='xzbdetail'),
    path('unblockuser/<int:blackId>', views.unblock_user, name='unblock_user'),
]
